/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="DETALHESQT")
public class DetalhesQTProteu implements Serializable{

    @Id
    @Column(name="DTQ_ST_CODIGO")
    private String dtqStCodigo;
    @Id
    @Column(name="PROC_ST_CODIGO_AMB")
    private String procStCodigoAmb;
    @Id
    @Column(name="DTQ_DT_ATENDIMENTO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dtqDtAtendimento;
    @Id
    @Column(name="PAC_ST_CODIGO")
    private String pacStCodigo;

    @Column(name="AGD_ST_CODIGO")
    private String agdStCodigo;
    @Column(name="LANC_ST_CODIGO")
    private String lancStCodigo;
    @Column(name="LANC_ST_NF")
    private String lancStNF;
    @Column(name="PAC_ST_RG")
    private String pacStRG;
    @Column(name="PAC_ST_NOME")
    private String pacStNome;
    @Column(name="PAC_ST_TITULAR")
    private String pacStTitular;
    @Column(name="PAC_ST_MATRICULA")
    private String pacStMatricula;
    @Column(name="PAC_DT_VALID_MATRICULA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date pacDtValidMatricula;
    @Column(name="MED_ST_CODIGO")
    private String medStCodigo;
    @Column(name="MED_ST_CRM")
    private String medStCRM;
    @Column(name="MED_ST_UF")
    private String medStUF;
    @Column(name="MED_ST_CODIGO_SOLIC")
    private String medStCodigoSolic;
    @Column(name="MED_ST_CRM_SOLIC")
    private String medStCrmSolic;
    @Column(name="MED_ST_UF_SOLIC")
    private String medStUfSolic;
    @Column(name="MED_ST_COD_REPASSE")
    private String medStCodRepasse;
    @Column(name="MED_ST_CRM_REPASSE")
    private String medStCrmRepasse;
    @Column(name="MED_ST_UF_REPASSE")
    private String medStUfRepasse;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="CON_ST_PLA_CODIGO")
    private String conStPlaCodigo;
    @Column(name="CON_ST_CLINICA")
    private String conStClinica;
    @Column(name="PAF_ST_NUM_GUIA_CONS")
    private String pafStNumGuiaCons;
    @Column(name="PAF_ST_NUM_GUIA_SADT")
    private String pafStNumGuiaSADT;
    @Column(name="PAF_DT_NUM_GUIA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date pafDtNumGuia;
    @Column(name="PAF_ST_NUM_SENHA")
    private String pafStNumSenha;
    @Column(name="PAF_DT_EMISSAO_SENHA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date pafDtEmissaoSenha;
    @Column(name="CID")
    private String cid;
    @Column(name="DTQ_FL_VLR_CONVENIO")
    private Float dtqFlVlrConvenio;
    @Column(name="DTQ_FL_VLR_PARTICULAR")
    private Float dtqFlVlrParticular;
    @Column(name="DTQ_FL_VLR_CARTAO")
    private Float dtqFlVlrCartao;
    @Column(name="DTQ_ST_SITUACAO")
    private String dtqStSituacao;
    @Column(name="DTQ_ST_TIPO_GUIA")
    private String dtqStTipoGuia;
    @Column(name="DTQ_FL_MATERIAL")
    private Float dtqFlMaterial;
    @Column(name="DTQ_IN_QUANT_PROC")
    private Integer dtqInQuantProc;
    @Column(name="DTQ_DT_AUTORIZACAO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dtqDtAutorizacao;
    @Column(name="DTQ_DT_VALIDADE_SENHA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dtqDtValidadeSenha;
    @Column(name="DTQ_IN_QTD_AUTORIZADA")
    private Integer dtqInQtdAutorizada;
    @Column(name="DTQ_FL_PORC_COBRADA")
    private Float dtqFlPorcCobrada;
    @Column(name="DTQ_IN_QTD_SOLICITADA")
    private Integer dtqInQtdSolicitada;
    @Column(name="PCT_ST_CODIGO")
    private String pctStCodigo;
    @Column(name="ATD_IN_CODIGO")
    private Integer atdInCodigo;
    @Column(name="TAC_ST_CODIGO")
    private String tacStCodigo;
    @Column(name="TAT_ST_CODIGO")
    private String tatStCodigo;
    @Column(name="CAA_ST_CODIGO")
    private String caaStCodigo;
    @Column(name="IDA_IN_CODIGO")
    private Integer idaInCodigo;
    @Column(name="TIC_IN_CODIGO")
    private Integer ticInCodigo;
    @Column(name="TID_ST_CODIGO")
    private String tidStCodigo;
    @Column(name="TED_ST_CODIGO")
    private String tedStCodigo;
    @Column(name="DTQ_IN_TEMPO_DOENCA")
    private Integer dtqInTempoDoenca;
    @Column(name="EPM_ST_CODIGO")
    private String epmStCodigo;
    @Column(name="TIL_ST_CODIGO")
    private String tilStCodigo;
    @Column(name="UNM_ST_CODIGO")
    private String unmStCodigo;
    @Column(name="CLI_ST_CODIGO")
    private String cliStCodigo;
    @Column(name="TIG_ST_CODIGO")
    private String tigStCodigo;
    @Column(name="TSC_ST_CODIGO")
    private String tscStCodigo;
    @Column(name="TSI_ST_CODIGO")
    private String tsiStCodigo;
    @Column(name="TSS_ST_CODIGO")
    private String tssStCodigo;
    @Column(name="PPR_ST_CODIGO")
    private String pprStCodigo;
    @Column(name="TAB_ST_CODIGO")
    private String tabStCodigo;
    @Column(name="USU_ST_CODIGO")
    private String usuStCodigo;
    @Column(name="DTQ_SYS_DATA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dtqSysData;
    @Column(name="DTQ_SYS_USUARIO")
    private String dtqSysUsuario;

    
    public Integer getAtdInCodigo() {
        return atdInCodigo;
    }

    public void setAtdInCodigo(Integer atdInCodigo) {
        this.atdInCodigo = atdInCodigo;
    }
    
    public String getAgdStCodigo() {
        return agdStCodigo;
    }

    public void setAgdStCodigo(String agdStCodigo) {
        this.agdStCodigo = agdStCodigo;
    }

    public String getCaaStCodigo() {
        return caaStCodigo;
    }

    public void setCaaStCodigo(String caaStCodigo) {
        this.caaStCodigo = caaStCodigo;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getCliStCodigo() {
        return cliStCodigo;
    }

    public void setCliStCodigo(String cliStCodigo) {
        this.cliStCodigo = cliStCodigo;
    }

    public String getConStClinica() {
        return conStClinica;
    }

    public void setConStClinica(String conStClinica) {
        this.conStClinica = conStClinica;
    }

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public String getConStPlaCodigo() {
        return conStPlaCodigo;
    }

    public void setConStPlaCodigo(String conStPlaCodigo) {
        this.conStPlaCodigo = conStPlaCodigo;
    }

    public Date getDtqDtAtendimento() {
        return dtqDtAtendimento;
    }

    public void setDtqDtAtendimento(Date dtqDtAtendimento) {
        this.dtqDtAtendimento = dtqDtAtendimento;
    }

    public Date getDtqDtAutorizacao() {
        return dtqDtAutorizacao;
    }

    public void setDtqDtAutorizacao(Date dtqDtAutorizacao) {
        this.dtqDtAutorizacao = dtqDtAutorizacao;
    }

    public Date getDtqDtValidadeSenha() {
        return dtqDtValidadeSenha;
    }

    public void setDtqDtValidadeSenha(Date dtqDtValidadeSenha) {
        this.dtqDtValidadeSenha = dtqDtValidadeSenha;
    }

    public Float getDtqFlMaterial() {
        return dtqFlMaterial;
    }

    public void setDtqFlMaterial(Float dtqFlMaterial) {
        this.dtqFlMaterial = dtqFlMaterial;
    }

    public Float getDtqFlPorcCobrada() {
        return dtqFlPorcCobrada;
    }

    public void setDtqFlPorcCobrada(Float dtqFlPorcCobrada) {
        this.dtqFlPorcCobrada = dtqFlPorcCobrada;
    }

    public Float getDtqFlVlrCartao() {
        return dtqFlVlrCartao;
    }

    public void setDtqFlVlrCartao(Float dtqFlVlrCartao) {
        this.dtqFlVlrCartao = dtqFlVlrCartao;
    }

    public Float getDtqFlVlrConvenio() {
        return dtqFlVlrConvenio;
    }

    public void setDtqFlVlrConvenio(Float dtqFlVlrConvenio) {
        this.dtqFlVlrConvenio = dtqFlVlrConvenio;
    }

    public Float getDtqFlVlrParticular() {
        return dtqFlVlrParticular;
    }

    public void setDtqFlVlrParticular(Float dtqFlVlrParticular) {
        this.dtqFlVlrParticular = dtqFlVlrParticular;
    }

    public Integer getDtqInQtdAutorizada() {
        return dtqInQtdAutorizada;
    }

    public void setDtqInQtdAutorizada(Integer dtqInQtdAutorizada) {
        this.dtqInQtdAutorizada = dtqInQtdAutorizada;
    }

    public Integer getDtqInQtdSolicitada() {
        return dtqInQtdSolicitada;
    }

    public void setDtqInQtdSolicitada(Integer dtqInQtdSolicitada) {
        this.dtqInQtdSolicitada = dtqInQtdSolicitada;
    }

    public Integer getDtqInQuantProc() {
        return dtqInQuantProc;
    }

    public void setDtqInQuantProc(Integer dtqInQuantProc) {
        this.dtqInQuantProc = dtqInQuantProc;
    }

    public Integer getDtqInTempoDoenca() {
        return dtqInTempoDoenca;
    }

    public void setDtqInTempoDoenca(Integer dtqInTempoDoenca) {
        this.dtqInTempoDoenca = dtqInTempoDoenca;
    }

    public String getDtqStCodigo() {
        return dtqStCodigo;
    }

    public void setDtqStCodigo(String dtqStCodigo) {
        this.dtqStCodigo = dtqStCodigo;
    }

    public String getDtqStSituacao() {
        return dtqStSituacao;
    }

    public void setDtqStSituacao(String dtqStSituacao) {
        this.dtqStSituacao = dtqStSituacao;
    }

    public String getDtqStTipoGuia() {
        return dtqStTipoGuia;
    }

    public void setDtqStTipoGuia(String dtqStTipoGuia) {
        this.dtqStTipoGuia = dtqStTipoGuia;
    }

    public Date getDtqSysData() {
        return dtqSysData;
    }

    public void setDtqSysData(Date dtqSysData) {
        this.dtqSysData = dtqSysData;
    }

    public String getDtqSysUsuario() {
        return dtqSysUsuario;
    }

    public void setDtqSysUsuario(String dtqSysUsuario) {
        this.dtqSysUsuario = dtqSysUsuario;
    }

    public String getEpmStCodigo() {
        return epmStCodigo;
    }

    public void setEpmStCodigo(String epmStCodigo) {
        this.epmStCodigo = epmStCodigo;
    }

    public Integer getIdaInCodigo() {
        return idaInCodigo;
    }

    public void setIdaInCodigo(Integer idaInCodigo) {
        this.idaInCodigo = idaInCodigo;
    }

    public String getLancStCodigo() {
        return lancStCodigo;
    }

    public void setLancStCodigo(String lancStCodigo) {
        this.lancStCodigo = lancStCodigo;
    }

    public String getLancStNF() {
        return lancStNF;
    }

    public void setLancStNF(String lancStNF) {
        this.lancStNF = lancStNF;
    }

    public String getMedStCRM() {
        return medStCRM;
    }

    public void setMedStCRM(String medStCRM) {
        this.medStCRM = medStCRM;
    }

    public String getMedStCodRepasse() {
        return medStCodRepasse;
    }

    public void setMedStCodRepasse(String medStCodRepasse) {
        this.medStCodRepasse = medStCodRepasse;
    }

    public String getMedStCodigo() {
        return medStCodigo;
    }

    public void setMedStCodigo(String medStCodigo) {
        this.medStCodigo = medStCodigo;
    }

    public String getMedStCodigoSolic() {
        return medStCodigoSolic;
    }

    public void setMedStCodigoSolic(String medStCodigoSolic) {
        this.medStCodigoSolic = medStCodigoSolic;
    }

    public String getMedStCrmRepasse() {
        return medStCrmRepasse;
    }

    public void setMedStCrmRepasse(String medStCrmRepasse) {
        this.medStCrmRepasse = medStCrmRepasse;
    }

    public String getMedStCrmSolic() {
        return medStCrmSolic;
    }

    public void setMedStCrmSolic(String medStCrmSolic) {
        this.medStCrmSolic = medStCrmSolic;
    }

    public String getMedStUF() {
        return medStUF;
    }

    public void setMedStUF(String medStUF) {
        this.medStUF = medStUF;
    }

    public String getMedStUfRepasse() {
        return medStUfRepasse;
    }

    public void setMedStUfRepasse(String medStUfRepasse) {
        this.medStUfRepasse = medStUfRepasse;
    }

    public String getMedStUfSolic() {
        return medStUfSolic;
    }

    public void setMedStUfSolic(String medStUfSolic) {
        this.medStUfSolic = medStUfSolic;
    }

    public Date getPacDtValidMatricula() {
        return pacDtValidMatricula;
    }

    public void setPacDtValidMatricula(Date pacDtValidMatricula) {
        this.pacDtValidMatricula = pacDtValidMatricula;
    }

    public String getPacStCodigo() {
        return pacStCodigo;
    }

    public void setPacStCodigo(String pacStCodigo) {
        this.pacStCodigo = pacStCodigo;
    }

    public String getPacStMatricula() {
        return pacStMatricula;
    }

    public void setPacStMatricula(String pacStMatricula) {
        this.pacStMatricula = pacStMatricula;
    }

    public String getPacStNome() {
        return pacStNome;
    }

    public void setPacStNome(String pacStNome) {
        this.pacStNome = pacStNome;
    }

    public String getPacStRG() {
        return pacStRG;
    }

    public void setPacStRG(String pacStRG) {
        this.pacStRG = pacStRG;
    }

    public String getPacStTitular() {
        return pacStTitular;
    }

    public void setPacStTitular(String pacStTitular) {
        this.pacStTitular = pacStTitular;
    }

    public Date getPafDtEmissaoSenha() {
        return pafDtEmissaoSenha;
    }

    public void setPafDtEmissaoSenha(Date pafDtEmissaoSenha) {
        this.pafDtEmissaoSenha = pafDtEmissaoSenha;
    }

    public Date getPafDtNumGuia() {
        return pafDtNumGuia;
    }

    public void setPafDtNumGuia(Date pafDtNumGuia) {
        this.pafDtNumGuia = pafDtNumGuia;
    }

    public String getPafStNumGuiaCons() {
        return pafStNumGuiaCons;
    }

    public void setPafStNumGuiaCons(String pafStNumGuiaCons) {
        this.pafStNumGuiaCons = pafStNumGuiaCons;
    }

    public String getPafStNumGuiaSADT() {
        return pafStNumGuiaSADT;
    }

    public void setPafStNumGuiaSADT(String pafStNumGuiaSADT) {
        this.pafStNumGuiaSADT = pafStNumGuiaSADT;
    }

    public String getPafStNumSenha() {
        return pafStNumSenha;
    }

    public void setPafStNumSenha(String pafStNumSenha) {
        this.pafStNumSenha = pafStNumSenha;
    }

    public String getPctStCodigo() {
        return pctStCodigo;
    }

    public void setPctStCodigo(String pctStCodigo) {
        this.pctStCodigo = pctStCodigo;
    }

    public String getPprStCodigo() {
        return pprStCodigo;
    }

    public void setPprStCodigo(String pprStCodigo) {
        this.pprStCodigo = pprStCodigo;
    }

    public String getProcStCodigoAmb() {
        return procStCodigoAmb;
    }

    public void setProcStCodigoAmb(String procStCodigoAmb) {
        this.procStCodigoAmb = procStCodigoAmb;
    }

    public String getTabStCodigo() {
        return tabStCodigo;
    }

    public void setTabStCodigo(String tabStCodigo) {
        this.tabStCodigo = tabStCodigo;
    }

    public String getTacStCodigo() {
        return tacStCodigo;
    }

    public void setTacStCodigo(String tacStCodigo) {
        this.tacStCodigo = tacStCodigo;
    }

    public String getTatStCodigo() {
        return tatStCodigo;
    }

    public void setTatStCodigo(String tatStCodigo) {
        this.tatStCodigo = tatStCodigo;
    }

    public String getTedStCodigo() {
        return tedStCodigo;
    }

    public void setTedStCodigo(String tedStCodigo) {
        this.tedStCodigo = tedStCodigo;
    }

    public Integer getTicInCodigo() {
        return ticInCodigo;
    }

    public void setTicInCodigo(Integer ticInCodigo) {
        this.ticInCodigo = ticInCodigo;
    }

    public String getTidStCodigo() {
        return tidStCodigo;
    }

    public void setTidStCodigo(String tidStCodigo) {
        this.tidStCodigo = tidStCodigo;
    }

    public String getTigStCodigo() {
        return tigStCodigo;
    }

    public void setTigStCodigo(String tigStCodigo) {
        this.tigStCodigo = tigStCodigo;
    }

    public String getTilStCodigo() {
        return tilStCodigo;
    }

    public void setTilStCodigo(String tilStCodigo) {
        this.tilStCodigo = tilStCodigo;
    }

    public String getTscStCodigo() {
        return tscStCodigo;
    }

    public void setTscStCodigo(String tscStCodigo) {
        this.tscStCodigo = tscStCodigo;
    }

    public String getTsiStCodigo() {
        return tsiStCodigo;
    }

    public void setTsiStCodigo(String tsiStCodigo) {
        this.tsiStCodigo = tsiStCodigo;
    }

    public String getTssStCodigo() {
        return tssStCodigo;
    }

    public void setTssStCodigo(String tssStCodigo) {
        this.tssStCodigo = tssStCodigo;
    }

    public String getUnmStCodigo() {
        return unmStCodigo;
    }

    public void setUnmStCodigo(String unmStCodigo) {
        this.unmStCodigo = unmStCodigo;
    }

    public String getUsuStCodigo() {
        return usuStCodigo;
    }

    public void setUsuStCodigo(String usuStCodigo) {
        this.usuStCodigo = usuStCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final DetalhesQTProteu other = (DetalhesQTProteu) obj;
        if ((this.dtqStCodigo == null) ? (other.dtqStCodigo != null) : !this.dtqStCodigo.equals(other.dtqStCodigo)) {
            return false;
        }
        if ((this.procStCodigoAmb == null) ? (other.procStCodigoAmb != null) : !this.procStCodigoAmb.equals(other.procStCodigoAmb)) {
            return false;
        }
        if (this.dtqDtAtendimento != other.dtqDtAtendimento && (this.dtqDtAtendimento == null || !this.dtqDtAtendimento.equals(other.dtqDtAtendimento))) {
            return false;
        }
        if ((this.pacStCodigo == null) ? (other.pacStCodigo != null) : !this.pacStCodigo.equals(other.pacStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 79 * hash + (this.dtqStCodigo != null ? this.dtqStCodigo.hashCode() : 0);
        hash = 79 * hash + (this.procStCodigoAmb != null ? this.procStCodigoAmb.hashCode() : 0);
        hash = 79 * hash + (this.dtqDtAtendimento != null ? this.dtqDtAtendimento.hashCode() : 0);
        hash = 79 * hash + (this.pacStCodigo != null ? this.pacStCodigo.hashCode() : 0);
        return hash;
    }



}
